package com.jinzhi.jzweb.utils;

import com.jinzhi.jzweb.domain.ExaminationResultsComDO;
import com.jinzhi.jzweb.domain.ExaminationResultsComResourcesDO;

import java.util.ArrayList;

public class ImgMp4ValueUtil {

    public static ExaminationResultsComDO testRear(ExaminationResultsComDO obj, ExaminationResultsComResourcesDO img) {
        if(img.getScoingb1img()!=null){
            obj.setScoingb1img(img.getScoingb1img());
        }
        if(img.getScoingb2img()!=null){
            obj.setScoingb2img(img.getScoingb2img());
        }
        if(img.getScoingb3img()!=null){
            obj.setScoingb3img(img.getScoingb3img());
        }
        if(img.getScoingb4img()!=null){
            obj.setScoingb4img(img.getScoingb4img());
        }
        if(img.getScoingb5img()!=null){
            obj.setScoingb5img(img.getScoingb5img());
        }

        if(img.getScoingb1smp4()!=null){
            obj.setScoingb1smp4(img.getScoingb1smp4());
        }
        if(img.getScoingb2smp4()!=null){
            obj.setScoingb2smp4(img.getScoingb2smp4());
        }
        if(img.getScoingb3smp4()!=null){
            obj.setScoingb3smp4(img.getScoingb3smp4());
        }
        if(img.getScoingb4smp4()!=null){
            obj.setScoingb4smp4(img.getScoingb4smp4());
        }
        if(img.getScoingb5smp4()!=null){
            obj.setScoingb5smp4(img.getScoingb5smp4());
        }

        if(img.getScoingc1img()!=null){
            obj.setScoingc1img(img.getScoingc1img());
        }
        if(img.getScoingc2img()!=null){
            obj.setScoingc2img(img.getScoingc2img());
        }
        if(img.getScoingc3img()!=null){
            obj.setScoingc3img(img.getScoingc3img());
        }
        if(img.getScoingc4img()!=null){
            obj.setScoingc4img(img.getScoingc4img());
        }
        if(img.getScoingc5img()!=null){
            obj.setScoingc5img(img.getScoingc5img());
        }


        if(img.getScoingc1smp4()!=null){
            obj.setScoingc1smp4(img.getScoingc1smp4());
        }
        if(img.getScoingc2smp4()!=null){
            obj.setScoingc2smp4(img.getScoingc2smp4());
        }
        if(img.getScoingc3smp4()!=null){
            obj.setScoingc3smp4(img.getScoingc3smp4());
        }
        if(img.getScoingc4smp4()!=null){
            obj.setScoingc4smp4(img.getScoingc4smp4());
        }
        if(img.getScoingc5smp4()!=null){
            obj.setScoingc5smp4(img.getScoingc5smp4());
        }

        return obj;
    }


}
